package com.soft.javase.ch04.interfaces.computer;

/**
 * @author wangzhisen
 * @Desc TODO
 * @date 2025/4/22
 */
public class Light implements IStorage{


    @Override
    public void read() {
        System.out.println("灯开始读数据...");
    }

    @Override
    public void write() {
        System.out.println("灯开始写数据...");
    }

    public void light(){
        System.out.println("点亮灯");
    }
}
